package com.movitech.mobile.cz.base.purchase.bizservice;


import com.movitech.mobile.cz.base.modules.controller.RestReturnResult;
import com.movitech.mobile.cz.base.modules.vo.PageRequestVO;
import com.movitech.mobile.cz.base.purchase.bizvo.IndexResponseVO;
import com.movitech.mobile.cz.base.purchase.bizvo.MInvitationListRequestVO;
import com.movitech.mobile.cz.base.purchase.bizvo.MMessageListRequestVO;
import com.movitech.mobile.cz.base.purchase.bizvo.MSupplierHomeInitRequestVO;
import com.movitech.mobile.cz.base.purchase.bizvo.MToDoListOwnAppRequestVO;
import com.movitech.mobile.cz.base.purchase.bizvo.MToDoListRequestVO;
import com.movitech.mobile.cz.base.purchase.bizvo.PurchaseManageHomeResponseVO;
import com.movitech.mobile.cz.base.purchase.entity.ext.IndexMoreRequestVO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 * 首页
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-02-28
 */
public interface IndexService {

	/***
	 * 采购外网平台首页
	 * @return
	 */
	public RestReturnResult getRestIndex(HttpServletResponse response, HttpServletRequest request);

	/**
	 * 采购管理后台首页
	 * @return
	 */
	public RestReturnResult<Object> initHome();

	/**
	 * 采购管理后台首页-更多接口
	 * @return
	 */
	public RestReturnResult<Object> moreInfo(IndexMoreRequestVO indexMoreRequestVO);

	/**
	 * 采购管理后台首页公告详情
	 * @param messageId
	 * @return
	 */
	public RestReturnResult<Object> getNoticeDetail(String messageId);

	/**
	 * 采购管理后台用户信息和菜单
	 * @return
	 */
	public RestReturnResult<Object> innerUserInfo();

	/**
	 * 外网招标、中标详情接口
	 * @param messageId
	 * @return
	 */
	public RestReturnResult<Object> getNoticeDesc(String messageId);

	/**
	 * 外网首页-中标、招标列表接口
	 * @return
	 */
	public RestReturnResult<Object> bidList(IndexMoreRequestVO indexMoreRequestVO);

	/**
	 * 移动端供方服务号首页初始化
	 * @param vo 
	 * @return
	 */
	public RestReturnResult<Object> initHomeForMobileSupplier(MSupplierHomeInitRequestVO vo);

	/**
	 * 移动端邀请函列表查询
	 * @param vo 
	 * @return
	 */
	public RestReturnResult<Object> getinvitationListForMobile(MInvitationListRequestVO vo);

	/**
	 * 获取待办列表
	 * @param vo
	 * @return
	 */
	public RestReturnResult<Object> getToDoList(MToDoListRequestVO vo);

	/**
	 * 移动端消息列表查询
	 * @param vo
	 * @return
	 */
	public RestReturnResult<Object> getMessageList(MMessageListRequestVO vo);

	public RestReturnResult<Object> initHomeForMobileOwnApp();

	public RestReturnResult<Object> getToDoOrDoneListForMobileOwnApp(MToDoListOwnAppRequestVO vo);

}
